//! 封装轮播图
import { onMounted } from '@vue/runtime-core'
import { useBannerList } from '@/stores/bannerStore'
export function useBanner() {
    const bannerList = useBannerList()
    onMounted(() => {
        bannerList.getBanner({ distributionSite: '2' })
    })

    return {
        bannerList
    }
}